// 页面加载事件,相当于window.onload
window.addEventListener('load', () => {
    //弹出框的打开与关闭
    //获取打开与关闭按钮
    const open = document.querySelector('.open');
    const close = document.querySelector('.close');
    // 获取整个弹出框dom对象
    const fillScreen = document.querySelector('.model-box');
    open.addEventListener('click', () => {
        fillScreen.style.display = 'block';
    });
    close.addEventListener('click', () => {
        fillScreen.style.display = 'none';
    });

    // 以下为弹出框的移动效果
});